
package com.wyzz.hr.bo;

import java.util.List;
import java.util.Map;
import org.hibernate.criterion.DetachedCriteria;

import com.wyzz.hr.pojo.Empbenefitplan;
import com.wyzz.hr.pojo.Empsalarypay;
import com.wyzz.hr.util.Pager;

public interface IEmpBenefitPlanBo {

	public abstract List findEbp(DetachedCriteria detachedcriteria,
			Pager pager, String s);

	public abstract void calcEbp(List list);

	public abstract List searchEbpByEmpandMonth(String as[], String s,
			String as1[]);

	public abstract Map findEbpYMs(String as[], Integer integer, boolean flag,
			String as1[]);

	public abstract Map findEbpBelongYMs(String as[], Integer integer,
			boolean flag, String as1[]);

	public abstract Empbenefitplan deductEbpYMs(Empbenefitplan empbenefitplan,
			Empbenefitplan empbenefitplan1);

	public abstract boolean deleteEbpById(String as[]);

	public abstract boolean deleteEbpByYm(String s, Integer integer,
			String as[]);

	public abstract List searchEbpById(String as[]);

	public abstract Empbenefitplan searchEmpbenefitByEmpMonth(String s,
			String s1);

	public abstract List searchEbpByEmpMonths(String s, String as[]);

	public abstract Empbenefitplan searchInitEbpByEmpMonth(String s, String s1);

	public abstract boolean updateEbp(Empbenefitplan empbenefitplan);

	public abstract Integer getBeneAddCount(String s);

	public abstract List getEbpList(String s, String s1);

	public abstract String batchSaveEbp(List list);

	public abstract boolean setAddEbpSum(String s, Empsalarypay aempsalarypay[]);

	public abstract Map getSumEbpsOfMonth(String s,
			Empsalarypay aempsalarypay[]);

	public abstract Map getSumEbpsOfAllMonth(List list);

	public abstract boolean addCurrPlan(String s, Empsalarypay empsalarypay);

	public abstract Empbenefitplan calcEbpForPage(
			Empbenefitplan empbenefitplan, List list);

	public abstract List getAllYears();

	public abstract void processDataForExport(List list, List list1);

	public abstract int hasBenefitPlanByAcctVersion(String s);

	public abstract List sumEbpList(List list, String s);

	public abstract void changeEbpToEsav(Empbenefitplan empbenefitplan,
			List list);
}
